/**
 * 
 */
package com.yidin.lsc;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;

/**
 * 聊天界面
 * 
 * @author cola
 * 
 */
public class IM extends BaseActivity {
	private Button more;
	private LinearLayout expressionLineary;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.im);
		init();
	}

	@Override
	public void init() {
		// TODO Auto-generated method stub
		this.more = (Button) findViewById(R.id.imMore);
		this.more.setOnClickListener(moreOnClickListener);
		this.expressionLineary = (LinearLayout) findViewById(R.id.imExpression);
	}

	private OnClickListener moreOnClickListener = new OnClickListener() {

		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			if (expressionLineary.getVisibility() == View.GONE)
				expressionLineary.setVisibility(View.VISIBLE);
			else
				expressionLineary.setVisibility(View.GONE);
		}

	};

	@Override
	public void refresh(Object... param) {
		// TODO Auto-generated method stub

	}

	@Override
	protected boolean isRouteDisplayed() {
		// TODO Auto-generated method stub
		return false;
	}

}
